#include <stdlib.h>
#include <stdio.h>

typedef struct Node {
        struct Node *parent;
        struct Node *l_child, *r_child;
        unsigned int value;
 
} Node;

int main()
{
	Node *root = malloc(sizeof(Node));
	root->value = 0;
	root->l_child = malloc(sizeof(Node));
	root->r_child = malloc(sizeof(Node));
	 
	root->l_child->parent = root;
	root->r_child->parent = root;

	root->l_child->value = 3;
	root->r_child->value = 74;

	printf("ramo 1: %u e ramo 2: %u\n", root->l_child->value, root->r_child->value);
	 
	free(root->l_child);
	free(root->r_child);
	free(root);	
}
